This AppleScript finds the complete titles of every page in the currently active VoodooPad document, and copies them to the clipboard in an alphabetized list. This script could take a few minutes to run depending on your system specs and the size of your .vdoc. Be sure to save (or backup) your .vdoc before running this script for the first time.


tell application "VoodooPad"
	set AppleScript's text item delimiters to ""
	set theCount to the number of pages of document 1
	set thePages to {}
	repeat with i from theCount to 1 by -1
		set the beginning of thePages to name of page i of document 1 as text
	end repeat
	set AppleScript's text item delimiters to return
	set the clipboard to thePages as string
end tell

Version History
(2Jun05) Optimized script to improve responsiveness.

Script submitted by – mike [dot] com [at] mac [dot] com